package com.atguigu.common.result;

import lombok.Getter;

/**
 * ClassName: ResultCodeEnum
 * Package: com.atguigu.common.result
 * Description:
 *
 * @Author 朱安迪
 * @Create 2023/4/25 17:12
 * @Version 1.0
 */
@Getter
public enum ResultCodeEnum {
    SUCCESS(200,"成功"),
    FAIL(201, "失败"),
    LOGIN_ERROR(208,"认证失败")
    ;

    private Integer code;

    private String message;

    private ResultCodeEnum(Integer code,String message){
        this.code = code;
        this.message = message;
    }
}
